package com.itheima.vo.pms;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.annotations.Insert;

import java.io.Serializable;
import java.math.BigDecimal;

/*商品阶梯价格*/

@Data
@TableName("pms_product_ladder")
public class ProductLadder implements Serializable  {
    private Long id;

    @TableField("product_id")
    private Long productId;

    //满足的商品数量
    private int count;

    //折扣
    private BigDecimal discount;

    //折后价格
    private BigDecimal price;
}
